<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form method="post" action="/mytest" enctype="multipart/form-data">
    <input type="file" name="file">
    <input name="name" type="text">
    <input type="submit">
</form>
<img src="/Users/feng/Desktop/e-shop-api/e-shop-api/src/main/resources/upload/goutou.jpg">

</form>
</body>
</html>